package com.zero.apifox.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 响应结果枚举
 */
@AllArgsConstructor
@Getter
public enum ResultStateEnum {
    SUCCESS(1, "000000", "success"),
    FAIL(-1, "100000", "fail"),
    SYS_EXCEPTION(-1, "100001", "system exception"),
    INTERRUPT_EXCEPTION(-1, "100002", "interrupt exception");
    /**
     * 状态码
     */
    private int code;
    /**
     * 业务状态码
     */
    private String stateCode;
    /**
     * 业务消息
     */
    private String message;

}
